/**
 * Created by chenqian on 2017/12/28.
 */
import React, {Component} from 'react';
import logo from '../assets/imgs/logo.svg';
import './GRHeader.css';

import { Button,WhiteSpace } from 'antd-mobile';
import { Link } from 'react-router-dom';

class GRHeader extends Component {
	render() {
		return (
			<header className="App-header">
				<img src={logo} className="App-logo" alt="logo" />
				<h1 className="App-title">Welcome to React</h1>
				
				<Button><Link to="/">首页</Link></Button><WhiteSpace />
				<Button><Link to="/login">登录</Link></Button><WhiteSpace />
			</header>
		);
	}
}

export default GRHeader
